﻿using MediatR;
using SC.GirdManage.Common;

namespace SC.GridManage.MN.API.Write.Application.Command.Artical
{
    public class UpdateAriticalCommand:IRequest<ApiResult<int>>
    {

        public long Id { get; set; }

        /// <summary>
        /// 文章类型编号
        /// </summary>
        public long TypeId { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 文章类型
        /// </summary>
        public long StatusID { get; set; }

        public long UserId { get; set; }

        public long DepartId { get; set; }

        /// <summary>
        /// 链接
        /// </summary>
        public string Link { get; set; }
        /// <summary>
        /// 内容
        /// </summary>
        public string Content { get; set; }
        /// <summary>
        /// 置顶
        /// </summary>
        public bool IsTop { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>

        public string CreateName { get; set; }

    }
}
